name: tests71 run_id: commands[0] env HOME: /home/jenkins env LANG: C.UTF-8 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/bin:/opt/pyenv/bin:/tmp/venv-Zukx/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 136374351 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71 env TOX_ENV_NAME: tests71 env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf71.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf71 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71 env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 9990 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests71/bin/*:launch_tests.sh cmd: ./launch_tests.sh 7.1 exit_code: 1 using environment variables from ./karaf71.env pytest -q transportpce_tests/7.1/test01_portmapping.py ...FFF...... [100%] =================================== FAILURES =================================== ________ TestTransportPCEPortmapping.test_04_tpdr_portmapping_NETWORK1 _________ self = def test_04_tpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) expected = { 'logical-connection-point': 'XPDR1-NETWORK1', 'supporting-circuit-pack-name': '1/1/2-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-network', 'port-admin-state': 'InService', 'connection-map-lcp': 'XPDR1-CLIENT1', 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AIGiVAQ4gDil' } expected_sorted = test_utils.recursive_sort(expected) response_sorted = [ test_utils.recursive_sort(item) for item in response['mapping'] ] > self.assertIn(expected_sorted, response_sorted) E AssertionError: {'connection-map-lcp': 'XPDR1-CLIENT1', 'lcp-hash-val': 'AIGiVAQ4gDil', 'logical-connection-point': 'XPDR1-NETWORK1', 'port-admin-state': 'InService', 'port-direction': 'bidirectional', 'port-oper-state': 'InService', 'port-qual': 'xpdr-network', 'rate': '200', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'supported-operational-mode': ['OR-W-100G-oFEC-31.6Gbd', 'OR-W-200G-oFEC-31.6Gbd'], 'supporting-circuit-pack-name': '1/1/2-PLUG-NET', 'supporting-port': 'L1', 'xpdr-type': 'tpdr'} not found in [{'connection-map-lcp': 'XPDR1-CLIENT1', 'lcp-hash-val': 'AIGiVAQ4gDil', 'logical-connection-point': 'XPDR1-NETWORK1', 'port-admin-state': 'InService', 'port-direction': 'bidirectional', 'port-oper-state': 'InService', 'port-qual': 'xpdr-network', 'rate': '200', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'supported-operational-mode': ['OR-W-100G-oFEC-31.6Gbd', 'OR-W-200G-oFEC-31.6Gbd'], 'supporting-circuit-pack-name': '1/1/2-PLUG-NET', 'supporting-port': 'L1', 'xpdr-number': 1, 'xpdr-type': 'tpdr'}] transportpce_tests/7.1/test01_portmapping.py:96: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_04_tpdr_portmapping_NETWORK1 _________ TestTransportPCEPortmapping.test_05_tpdr_portmapping_CLIENT1 _________ self = def test_05_tpdr_portmapping_CLIENT1(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR1-CLIENT1") self.assertEqual(response['status_code'], requests.codes.ok) > self.assertIn( {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/1/1-PLUG-CLIENT', 'rate': '400', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-400GE'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-client', 'port-admin-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK1', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AODABTVSOHH0' }, response['mapping'] ) E AssertionError: {'logical-connection-point': 'XPDR1-CLIENT1', 'supporting-circuit-pack-name': '1/1/1-PLUG-CLIENT', 'rate': '400', 'supporting-port': 'C1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-400GE'], 'port-direction': 'bidirectional', 'port-qual': 'xpdr-client', 'port-admin-state': 'InService', 'connection-map-lcp': 'XPDR1-NETWORK1', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AODABTVSOHH0'} not found in [{'logical-connection-point': 'XPDR1-CLIENT1', 'connection-map-lcp': 'XPDR1-NETWORK1', 'port-qual': 'xpdr-client', 'port-direction': 'bidirectional', 'port-admin-state': 'InService', 'rate': '400', 'supported-interface-capability': ['org-openroadm-port-types:if-400GE'], 'supporting-circuit-pack-name': '1/1/1-PLUG-CLIENT', 'supporting-port': 'C1', 'xpdr-number': 1, 'port-oper-state': 'InService', 'xpdr-type': 'tpdr', 'lcp-hash-val': 'AODABTVSOHH0'}] transportpce_tests/7.1/test01_portmapping.py:101: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_05_tpdr_portmapping_CLIENT1 ________ TestTransportPCEPortmapping.test_06_mpdr_portmapping_NETWORK1 _________ self = def test_06_mpdr_portmapping_NETWORK1(self): response = test_utils.get_portmapping_node_attr("XPDR-A2", "mapping", "XPDR2-NETWORK1") self.assertEqual(response['status_code'], requests.codes.ok) expected = { 'logical-connection-point': 'XPDR2-NETWORK1', 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'rate': '200', 'supporting-port': 'L1', 'port-oper-state': 'InService', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'port-direction': 'bidirectional', 'port-qual': 'switch-network', 'port-admin-state': 'InService', 'supported-operational-mode': ['OR-W-200G-oFEC-31.6Gbd', 'OR-W-100G-oFEC-31.6Gbd'], 'xpdr-type': 'mpdr', 'lcp-hash-val': 'LY9PxYJqUbw=' } expected_sorted = test_utils.recursive_sort(expected) response_sorted = [ test_utils.recursive_sort(item) for item in response['mapping'] ] > self.assertIn(expected_sorted, response_sorted) E AssertionError: {'lcp-hash-val': 'LY9PxYJqUbw=', 'logical-connection-point': 'XPDR2-NETWORK1', 'port-admin-state': 'InService', 'port-direction': 'bidirectional', 'port-oper-state': 'InService', 'port-qual': 'switch-network', 'rate': '200', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'supported-operational-mode': ['OR-W-100G-oFEC-31.6Gbd', 'OR-W-200G-oFEC-31.6Gbd'], 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'supporting-port': 'L1', 'xpdr-type': 'mpdr'} not found in [{'lcp-hash-val': 'LY9PxYJqUbw=', 'logical-connection-point': 'XPDR2-NETWORK1', 'port-admin-state': 'InService', 'port-direction': 'bidirectional', 'port-oper-state': 'InService', 'port-qual': 'switch-network', 'rate': '200', 'supported-interface-capability': ['org-openroadm-port-types:if-otsi-otsigroup'], 'supported-operational-mode': ['OR-W-100G-oFEC-31.6Gbd', 'OR-W-200G-oFEC-31.6Gbd'], 'supporting-circuit-pack-name': '1/2/2-PLUG-NET', 'supporting-port': 'L1', 'xpdr-number': 2, 'xpdr-type': 'mpdr'}] transportpce_tests/7.1/test01_portmapping.py:139: AssertionError ----------------------------- Captured stdout call ----------------------------- execution of test_06_mpdr_portmapping_NETWORK1 =========================== short test summary info ============================ FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_04_tpdr_portmapping_NETWORK1 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_05_tpdr_portmapping_CLIENT1 FAILED transportpce_tests/7.1/test01_portmapping.py::TestTransportPCEPortmapping::test_06_mpdr_portmapping_NETWORK1 3 failed, 9 passed in 64.92s (0:01:04)